package com.dk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.entity.TAdmin;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
public interface TAdminMapper extends BaseMapper<TAdmin> {

    //判断手机号有没有注册过
    TAdmin selectByPhone(String phone);

    //判断用户名是否重复
    TAdmin selectUserByUserName(String username);
}
